package com.example.javatwo.mapper.cg.lmx;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.javatwo.pojo.cg.lmx.Product;
import com.example.javatwo.pojo.cg.wmj.Supplier;

@Mapper
public interface WuLiaoMapper {
	/**
	 * 查询所有
	 * @return
	 */
	List<Product> loginSelectAll();
	/**
	 * 根据id查询
	 * @param id
	 * @return
	 */
	Product selectId(String id);
	/**
	 * 修改现行平均价、现行总成本、现行总数量
	 * @param callCost
	 * @param cavgCost
	 * @param callAmt
	 * @param id
	 */
	void updateProduct(double callCost ,double cavgCost ,int callAmt ,String id);
	public List<Product> QuerySupplierPage(@Param("currentPage")int currentPage);
	//查询所有
		public int QuerySumCount();
}
